package jp.co.ricoh.melody.presenters;

import jp.co.ricoh.melody.databases.DBManager;
import jp.co.ricoh.melody.models.entities.AlarmData;
import jp.co.ricoh.melody.views.adapters.IAlarmListView;

/**
 * Copyright (C) 2016 RICOH Co.,LTD.
 * All rights reserved.
 */
public interface IAlarmListPresenter extends IBasePresenter<IAlarmListView> {

    void loadData();

    void setEnableAlarm(boolean enabled, AlarmData alarmData, DBManager.OnSaveDataResultListener onSaveDataResultListener);

    void deleteAlarm(AlarmData alarmData, DBManager.OnSaveDataResultListener onSaveDataResultListener);

    void editAlarm(int alarmId);

    void cancelAlarmFromAlarmManager(int alarmId);

    int getItemCount();
}
